import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
	state: {
		tabbar: [{
				iconPath: "/static/icon/index.png",
				selectedIconPath: "/static/icon/index-s.png",
				text: '首页',
				pagePath: "/pages/index/index"
			},
			{
				iconPath: "/static/icon/news.png",
				selectedIconPath: "/static/icon/news-s.png",
				text: '新闻',
				pagePath: "/pages/news/news"
			},
			{
				iconPath: "/static/icon/search.png",
				selectedIconPath: "/static/icon/search-s.png",
				text: '推荐',
				pagePath: "/pages/search/search"
			},
			{
				iconPath: "/static/icon/my.png",
				selectedIconPath: "/static/icon/my-s.png",
				text: '我的',
				pagePath: "/pages/my/my"
			},
		]
	},
	mutations: {},
	actions: {}
})
export default store
